package com.woniu.outlet.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProcessHandoverExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProcessHandoverExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andProcessCodeIsNull() {
            addCriterion("process_code is null");
            return (Criteria) this;
        }

        public Criteria andProcessCodeIsNotNull() {
            addCriterion("process_code is not null");
            return (Criteria) this;
        }

        public Criteria andProcessCodeEqualTo(String value) {
            addCriterion("process_code =", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeNotEqualTo(String value) {
            addCriterion("process_code <>", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeGreaterThan(String value) {
            addCriterion("process_code >", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeGreaterThanOrEqualTo(String value) {
            addCriterion("process_code >=", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeLessThan(String value) {
            addCriterion("process_code <", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeLessThanOrEqualTo(String value) {
            addCriterion("process_code <=", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeLike(String value) {
            addCriterion("process_code like", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeNotLike(String value) {
            addCriterion("process_code not like", value, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeIn(List<String> values) {
            addCriterion("process_code in", values, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeNotIn(List<String> values) {
            addCriterion("process_code not in", values, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeBetween(String value1, String value2) {
            addCriterion("process_code between", value1, value2, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessCodeNotBetween(String value1, String value2) {
            addCriterion("process_code not between", value1, value2, "processCode");
            return (Criteria) this;
        }

        public Criteria andProcessNameIsNull() {
            addCriterion("process_name is null");
            return (Criteria) this;
        }

        public Criteria andProcessNameIsNotNull() {
            addCriterion("process_name is not null");
            return (Criteria) this;
        }

        public Criteria andProcessNameEqualTo(String value) {
            addCriterion("process_name =", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameNotEqualTo(String value) {
            addCriterion("process_name <>", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameGreaterThan(String value) {
            addCriterion("process_name >", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameGreaterThanOrEqualTo(String value) {
            addCriterion("process_name >=", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameLessThan(String value) {
            addCriterion("process_name <", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameLessThanOrEqualTo(String value) {
            addCriterion("process_name <=", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameLike(String value) {
            addCriterion("process_name like", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameNotLike(String value) {
            addCriterion("process_name not like", value, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameIn(List<String> values) {
            addCriterion("process_name in", values, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameNotIn(List<String> values) {
            addCriterion("process_name not in", values, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameBetween(String value1, String value2) {
            addCriterion("process_name between", value1, value2, "processName");
            return (Criteria) this;
        }

        public Criteria andProcessNameNotBetween(String value1, String value2) {
            addCriterion("process_name not between", value1, value2, "processName");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdIsNull() {
            addCriterion("handover_person_id is null");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdIsNotNull() {
            addCriterion("handover_person_id is not null");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdEqualTo(Integer value) {
            addCriterion("handover_person_id =", value, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdNotEqualTo(Integer value) {
            addCriterion("handover_person_id <>", value, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdGreaterThan(Integer value) {
            addCriterion("handover_person_id >", value, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("handover_person_id >=", value, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdLessThan(Integer value) {
            addCriterion("handover_person_id <", value, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdLessThanOrEqualTo(Integer value) {
            addCriterion("handover_person_id <=", value, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdIn(List<Integer> values) {
            addCriterion("handover_person_id in", values, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdNotIn(List<Integer> values) {
            addCriterion("handover_person_id not in", values, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdBetween(Integer value1, Integer value2) {
            addCriterion("handover_person_id between", value1, value2, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverPersonIdNotBetween(Integer value1, Integer value2) {
            addCriterion("handover_person_id not between", value1, value2, "handoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdIsNull() {
            addCriterion("behandover_person_id is null");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdIsNotNull() {
            addCriterion("behandover_person_id is not null");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdEqualTo(Integer value) {
            addCriterion("behandover_person_id =", value, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdNotEqualTo(Integer value) {
            addCriterion("behandover_person_id <>", value, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdGreaterThan(Integer value) {
            addCriterion("behandover_person_id >", value, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("behandover_person_id >=", value, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdLessThan(Integer value) {
            addCriterion("behandover_person_id <", value, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdLessThanOrEqualTo(Integer value) {
            addCriterion("behandover_person_id <=", value, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdIn(List<Integer> values) {
            addCriterion("behandover_person_id in", values, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdNotIn(List<Integer> values) {
            addCriterion("behandover_person_id not in", values, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdBetween(Integer value1, Integer value2) {
            addCriterion("behandover_person_id between", value1, value2, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andBehandoverPersonIdNotBetween(Integer value1, Integer value2) {
            addCriterion("behandover_person_id not between", value1, value2, "behandoverPersonId");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeIsNull() {
            addCriterion("handover_time is null");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeIsNotNull() {
            addCriterion("handover_time is not null");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeEqualTo(Date value) {
            addCriterion("handover_time =", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeNotEqualTo(Date value) {
            addCriterion("handover_time <>", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeGreaterThan(Date value) {
            addCriterion("handover_time >", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("handover_time >=", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeLessThan(Date value) {
            addCriterion("handover_time <", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeLessThanOrEqualTo(Date value) {
            addCriterion("handover_time <=", value, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeIn(List<Date> values) {
            addCriterion("handover_time in", values, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeNotIn(List<Date> values) {
            addCriterion("handover_time not in", values, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeBetween(Date value1, Date value2) {
            addCriterion("handover_time between", value1, value2, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andHandoverTimeNotBetween(Date value1, Date value2) {
            addCriterion("handover_time not between", value1, value2, "handoverTime");
            return (Criteria) this;
        }

        public Criteria andGoodNumIsNull() {
            addCriterion("good_num is null");
            return (Criteria) this;
        }

        public Criteria andGoodNumIsNotNull() {
            addCriterion("good_num is not null");
            return (Criteria) this;
        }

        public Criteria andGoodNumEqualTo(Integer value) {
            addCriterion("good_num =", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumNotEqualTo(Integer value) {
            addCriterion("good_num <>", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumGreaterThan(Integer value) {
            addCriterion("good_num >", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("good_num >=", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumLessThan(Integer value) {
            addCriterion("good_num <", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumLessThanOrEqualTo(Integer value) {
            addCriterion("good_num <=", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumIn(List<Integer> values) {
            addCriterion("good_num in", values, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumNotIn(List<Integer> values) {
            addCriterion("good_num not in", values, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumBetween(Integer value1, Integer value2) {
            addCriterion("good_num between", value1, value2, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumNotBetween(Integer value1, Integer value2) {
            addCriterion("good_num not between", value1, value2, "goodNum");
            return (Criteria) this;
        }

        public Criteria andCostNumIsNull() {
            addCriterion("cost_num is null");
            return (Criteria) this;
        }

        public Criteria andCostNumIsNotNull() {
            addCriterion("cost_num is not null");
            return (Criteria) this;
        }

        public Criteria andCostNumEqualTo(Integer value) {
            addCriterion("cost_num =", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumNotEqualTo(Integer value) {
            addCriterion("cost_num <>", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumGreaterThan(Integer value) {
            addCriterion("cost_num >", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("cost_num >=", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumLessThan(Integer value) {
            addCriterion("cost_num <", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumLessThanOrEqualTo(Integer value) {
            addCriterion("cost_num <=", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumIn(List<Integer> values) {
            addCriterion("cost_num in", values, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumNotIn(List<Integer> values) {
            addCriterion("cost_num not in", values, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumBetween(Integer value1, Integer value2) {
            addCriterion("cost_num between", value1, value2, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumNotBetween(Integer value1, Integer value2) {
            addCriterion("cost_num not between", value1, value2, "costNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumIsNull() {
            addCriterion("waste_num is null");
            return (Criteria) this;
        }

        public Criteria andWasteNumIsNotNull() {
            addCriterion("waste_num is not null");
            return (Criteria) this;
        }

        public Criteria andWasteNumEqualTo(Integer value) {
            addCriterion("waste_num =", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumNotEqualTo(Integer value) {
            addCriterion("waste_num <>", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumGreaterThan(Integer value) {
            addCriterion("waste_num >", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("waste_num >=", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumLessThan(Integer value) {
            addCriterion("waste_num <", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumLessThanOrEqualTo(Integer value) {
            addCriterion("waste_num <=", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumIn(List<Integer> values) {
            addCriterion("waste_num in", values, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumNotIn(List<Integer> values) {
            addCriterion("waste_num not in", values, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumBetween(Integer value1, Integer value2) {
            addCriterion("waste_num between", value1, value2, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumNotBetween(Integer value1, Integer value2) {
            addCriterion("waste_num not between", value1, value2, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumIsNull() {
            addCriterion("planned_num is null");
            return (Criteria) this;
        }

        public Criteria andPlannedNumIsNotNull() {
            addCriterion("planned_num is not null");
            return (Criteria) this;
        }

        public Criteria andPlannedNumEqualTo(Integer value) {
            addCriterion("planned_num =", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumNotEqualTo(Integer value) {
            addCriterion("planned_num <>", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumGreaterThan(Integer value) {
            addCriterion("planned_num >", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("planned_num >=", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumLessThan(Integer value) {
            addCriterion("planned_num <", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumLessThanOrEqualTo(Integer value) {
            addCriterion("planned_num <=", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumIn(List<Integer> values) {
            addCriterion("planned_num in", values, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumNotIn(List<Integer> values) {
            addCriterion("planned_num not in", values, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumBetween(Integer value1, Integer value2) {
            addCriterion("planned_num between", value1, value2, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("planned_num not between", value1, value2, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNull() {
            addCriterion("spare1 is null");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNotNull() {
            addCriterion("spare1 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare1EqualTo(String value) {
            addCriterion("spare1 =", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotEqualTo(String value) {
            addCriterion("spare1 <>", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThan(String value) {
            addCriterion("spare1 >", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThanOrEqualTo(String value) {
            addCriterion("spare1 >=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThan(String value) {
            addCriterion("spare1 <", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThanOrEqualTo(String value) {
            addCriterion("spare1 <=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Like(String value) {
            addCriterion("spare1 like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotLike(String value) {
            addCriterion("spare1 not like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1In(List<String> values) {
            addCriterion("spare1 in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotIn(List<String> values) {
            addCriterion("spare1 not in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Between(String value1, String value2) {
            addCriterion("spare1 between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotBetween(String value1, String value2) {
            addCriterion("spare1 not between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNull() {
            addCriterion("spare2 is null");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNotNull() {
            addCriterion("spare2 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare2EqualTo(String value) {
            addCriterion("spare2 =", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotEqualTo(String value) {
            addCriterion("spare2 <>", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThan(String value) {
            addCriterion("spare2 >", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThanOrEqualTo(String value) {
            addCriterion("spare2 >=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThan(String value) {
            addCriterion("spare2 <", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThanOrEqualTo(String value) {
            addCriterion("spare2 <=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Like(String value) {
            addCriterion("spare2 like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotLike(String value) {
            addCriterion("spare2 not like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2In(List<String> values) {
            addCriterion("spare2 in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotIn(List<String> values) {
            addCriterion("spare2 not in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Between(String value1, String value2) {
            addCriterion("spare2 between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotBetween(String value1, String value2) {
            addCriterion("spare2 not between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNull() {
            addCriterion("spare3 is null");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNotNull() {
            addCriterion("spare3 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare3EqualTo(String value) {
            addCriterion("spare3 =", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotEqualTo(String value) {
            addCriterion("spare3 <>", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThan(String value) {
            addCriterion("spare3 >", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThanOrEqualTo(String value) {
            addCriterion("spare3 >=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThan(String value) {
            addCriterion("spare3 <", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThanOrEqualTo(String value) {
            addCriterion("spare3 <=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Like(String value) {
            addCriterion("spare3 like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotLike(String value) {
            addCriterion("spare3 not like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3In(List<String> values) {
            addCriterion("spare3 in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotIn(List<String> values) {
            addCriterion("spare3 not in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Between(String value1, String value2) {
            addCriterion("spare3 between", value1, value2, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotBetween(String value1, String value2) {
            addCriterion("spare3 not between", value1, value2, "spare3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}